package com.example.health_life.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface VideoRepository extends JpaRepository<Video,Integer> {
    List<Video> findByCourseId(Integer courseId);
    
    List<Video> findByStatus(Byte status);
}
